import { createStore, Action } from 'redux';
import reducer from './reducer';
import { IState, IActionPayLoad } from './typings';

const store = createStore<IState, Action<IActionPayLoad>, unknown, unknown>(reducer);

export default store;
